<form name="form_admin" method="post" action="<?php echo formAction('updatestatuscontent')?>">
<input type="hidden" name="id" value="<?php echo $id?>" />
    <table width="100%"  cellpadding="4" cellspacing="1" id="tblsort">
    	<tr class="headtb" nodrop="true" nodrag="true">
    		<td width="5%"><?php echo _ORDER?></td>
            <td width="5%"><?php echo inputCheckAll()?></td>
    		<td width="20%" ><?php echo _NAME?></td>
    		<td width="10%" ><?php echo _STATUS?></td>
    		<td width="20%" ><?php echo _ACTIONS?></td>
    		<td>&nbsp;</td>
    	</tr>
    <?php
	foreach($tourelms as $i => $tourelm)
	{
	?>
	<tr>
		<td align=center>
			<input class="ordertext" id="listorder_<?php echo $i?>" name="listorder[]"
			value="<?php echo getOrderList($i)?>">
		</td>
        <td align="center"><?php echo inputCheck($tourelm['iId'])?></td>
		<td nowrap="nowrap">
            <?php echo linkAction('editcontent',$tourelm["cName"],'id='.$tourelm["iId"])?>
            <input type="hidden" name="listid[]" value="<?php echo $tourelm["iId"]?>" />
		</td>
		<td align=center>
			<select name="liststatus[]" id="iStatus_content_<?php echo $i ?>">
				<?php echo  liststatus($tourelm["iStatus"]);?>
			</select>
		</td>

		<td align=center>
			<?php echo linkAction('editcontent',_EDIT,'id='.$tourelm["iId"])?> -
            <?php echo linkAction('delcontent',_DELETE,'id='.$tourelm["iId"])?>
		</td>
		<td></td>
	</tr>
	<?php
	}
    if(count($tourelms)==0)
    {
    ?>
    <tr nodrop="true" nodrag="true">
    	<td align="center" colspan="5"><font color="Red"><?php echo _NOTFOUNDCONTENT?></font></td>
    </tr>
    <?php
    }
    ?>
    </table>
    <?php echo $show_page?>
</form>
<script type="text/javascript">
(new TableDnD).init("tblsort");
</script>
